package com.gx.util.fileutil;

import java.io.InputStream;
import java.net.URL;
import java.util.Date;

/**
 * @author gaoxing
 * @create 2018-04-10 上午10:22
 */
public interface FileUploadServer {
    public void storeFile(String key, InputStream input);

    public InputStream getFile(String key, boolean... ignoreException);

    public URL generatePresignedUrl(String key, Date expiredTime);


}
